package com.lanchetech.dao;
import java.util.List;
import java.util.Collection;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.SpuCourierAmount;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SpuCourierAmountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SpuCourierAmount record);

    int insertSelective(SpuCourierAmount record);

    SpuCourierAmount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SpuCourierAmount record);

    int updateByPrimaryKey(SpuCourierAmount record);

    SpuCourierAmount findOneBySpuId(@Param("spuId")Long spuId);

    List<SpuCourierAmount> findAllBySpuIds(@Param("spuIds")List<Long> spuIds);

    List<SpuCourierAmount> findAllByIds(@Param("ids")List<Long> ids);


}